package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @author 李城
 * @version 1.0
 */
public interface NursingProjectService {
    /**
     * 分页查询护理项目列表
     *
     * @param name     护理项目名称
     * @param status   状态：0-禁用，1-启用
     * @param pageNum  当前页码
     * @param pageSize 每页显示数量
     * @return 护理项目列表
     */
    PageResponse<NursingProjectVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void addNursingProject(NursingProjectDto nursingProjectDto);

    NursingProjectVo getById(Long id);

    void updateNursingProject(NursingProjectDto nursingProjectDto);

    void updateNursingProjectStatus(Long id, Integer status);

    void deleteNursingProject(Long id);

    List<NursingProjectVo> getAllNursingProject();
}
